# -*- coding: utf-8 -*-
# @Time    : 2020/1/6 17:34
# @Author  : Damn7Kx
# @Software: PyCharm
import time, datetime
import os

if __name__ == "__main__":
    count = 0
    while True:
        count += 1
        print(datetime.datetime.now(), 'Time_task6第%s次运行爬虫' % count)
        os.system("scrapy crawl Juzi")
        os.system("scrapy crawl Kdkb")
        os.system("scrapy crawl Xiaoshi")
        os.system("scrapy crawl Zhejiang")
        print("Time Task6进入等待时间...")
        time.sleep(180)